| Total Complexity | 56 |
| Dependencies | 6 |
| Dependents | 1 |
| Total lines | 273 |
| Lines of code | 190 |
| Logical lines of code | 99 |
| Comment lines | 49 |
| Methods | 14 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| add_params_to_intent() | 48 | 11 | 32 | |
| process_change_payment_method_redirect() | 47 | 7 | 35 | |
| add_setup_intent_params() | 49 | 7 | 29 | |
| maybe_create_setup_intent() | 61 | 6 | 14 | |
| is_subscription_mode() | 60 | 6 | 14 | |
| add_change_payment_method_query() | 56 | 5 | 18 | |
| print_script_variables() | 72 | 4 | 5 | |
| is_link_active() | 69 | 3 | 8 | |
| get_recurring_cart_total() | 64 | 2 | 10 | |
| initialize() | 60 | 1 | 12 | |
| __construct() | 77 | 1 | 4 | |
| account_requires_mandate() | 79 | 1 | 3 | |
| update_payment_intent_args() | 79 | 1 | 3 | |
| update_setup_intent_params() | 79 | 1 | 3 |